home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 60 / Cine Live 60.iso / pc / Data / Interface / vid1.k < prev    next >
Encoding:
Text File  |  2002-08-08  |  4.4 KB  |  221 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$000000B5,$0000007A,$00000290,$000001EE,$00000000,$FFFFFFB0,$00000000,$00000000};
  6.         LayoutWindow is {$000000B5,$0000003D,$00000293,$00000248,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         obouton_sommaire4,
  18.         obouton_retour5,
  19.         obouton_lancer6,
  20.         oVid_o7
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o7; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Name is "Music"; 
  64.     
  65.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  66.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  67.     Looping is true; 
  68.     URL is "data/Sons/3.mp3"; URLOption is GetDiskURL; 
  69.     
  70. end;
  71.  
  72. object ofond3 is cImage
  73. with 
  74.     Name is "fond"; 
  75.     Enabled is false; 
  76.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  77.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  78.     
  79.     URL is "data/Images/v1.jpg"; URLOption is GetDiskURL; 
  80.     
  81.     
  82. end;
  83.  
  84. object obouton_sommaire4 is cImage
  85. with 
  86.     Name is "bouton sommaire"; 
  87.     Shown is false; Cursor is oFingerCursor; 
  88.     X is 629; Y is 573; 
  89.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  90.     
  91.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  92.     
  93.     
  94.     Events is [
  95.         cMouseEnterEvent
  96.         with 
  97.             Commands is [
  98.                 cShowCommand
  99.                 with Target is oTargetSelf; end
  100.             ];
  101.         end,
  102.         cMouseLeaveEvent
  103.         with 
  104.             Commands is [
  105.                 cShowCommand
  106.                 with Target is oTargetSelf; Mode is Clear; end
  107.             ];
  108.         end,
  109.         cMouseUpEvent
  110.         with Flag is true; 
  111.             Commands is [
  112.                 cBrowseCommand
  113.                 with URL is "../../Data/Interface/sommaire.k"; end
  114.             ];
  115.         end
  116.     ];
  117. end;
  118.  
  119. object obouton_retour5 is cImage
  120. with 
  121.     Flags is $00000154; 
  122.     Name is "bouton retour"; 
  123.     Shown is false; Cursor is oFingerCursor; 
  124.     X is 321; Y is 573; 
  125.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  126.     
  127.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  128.     
  129.     
  130.     Events is [
  131.         cMouseEnterEvent
  132.         with Flags is $00000004; 
  133.             Commands is [
  134.                 cShowCommand
  135.                 with Flags is $00000004; Target is oTargetSelf; end
  136.             ];
  137.         end,
  138.         cMouseLeaveEvent
  139.         with Flags is $00000004; 
  140.             Commands is [
  141.                 cShowCommand
  142.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  143.             ];
  144.         end,
  145.         cMouseUpEvent
  146.         with Flags is $00000004; Flag is true; 
  147.             Commands is [
  148.                 cBrowseCommand
  149.                 with URL is "videos.k"; end
  150.             ];
  151.         end
  152.     ];
  153. end;
  154.  
  155. object obouton_lancer6 is cImage
  156. with 
  157.     Name is "bouton lancer"; 
  158.     Shown is false; Cursor is oFingerCursor; 
  159.     X is 475; Y is 573; 
  160.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  161.     
  162.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  163.     
  164.     
  165.     Events is [
  166.         cMouseEnterEvent
  167.         with 
  168.             Commands is [
  169.                 cShowCommand
  170.                 with Target is oTargetSelf; end
  171.             ];
  172.         end,
  173.         cMouseLeaveEvent
  174.         with 
  175.             Commands is [
  176.                 cShowCommand
  177.                 with Target is oTargetSelf; Mode is Clear; end
  178.             ];
  179.         end,
  180.         cMouseUpEvent
  181.         with Flag is true; 
  182.             Commands is [
  183.                 cShowCommand
  184.                 with Target is oVid_o7; end,
  185.                 cEnableCommand
  186.                 with Target is oVid_o7; end,
  187.                 cRunCommand
  188.                 with Target is oVid_o7; Rewind is true; end,
  189.                 cRunCommand
  190.                 with Target is oMusic2; Mode is Clear; Rewind is true; end
  191.             ];
  192.         end
  193.     ];
  194. end;
  195.  
  196. object oVid_o7 is cMPEGMovie
  197. with 
  198.     Flags is $00000150; 
  199.     Name is "Vid\$E9o"; 
  200.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  201.     
  202.     Width is 800; Height is 600; 
  203.     
  204.     URL is "data/Videos/v1.mpg"; URLOption is GetDiskURL; 
  205.     Events is [
  206.         cMouseUpEvent
  207.         with Flags is $00000004; Flag is true; 
  208.             Commands is [
  209.                 cBrowseCommand
  210.                 with URL is "vid1bis.k"; end
  211.             ];
  212.         end,
  213.         cFinishedEvent
  214.         with Flags is $00000004; 
  215.             Commands is [
  216.                 cBrowseCommand
  217.                 with URL is "vid1bis.k"; end
  218.             ];
  219.         end
  220.     ];
  221. end;